package guowei.gulidiscount.discount.feign;


import guowei.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient("guliOrder")
public interface OrderFeignClient {

    @GetMapping("/order/order/getById/{id}")
    R getOneById(@PathVariable("id") Integer id);

}
